#include "AbstractCampaignItemModel.h"



#include <ItemModel.h>
#include <ItemGroup.h>



#include <QTimer>



AbstractCampaignItemModel::AbstractCampaignItemModel(QObject *parent) :
    QAbstractProxyModel(parent)
{
}



void AbstractCampaignItemModel::setSourceModel(QAbstractItemModel *sourceModel)
{
    QAbstractProxyModel::setSourceModel(sourceModel);
    QTimer::singleShot(0, this, SLOT(remap()));
}
